﻿<Window x:Class="Mengsk.ProxyDelivery.UI.LoginWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="登录打印系统" Height="300" Width="250" SizeToContent="Height" ResizeMode="CanMinimize" WindowStartupLocation="CenterScreen">
    <Grid Margin="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        
        <TextBlock Grid.Row="0" Grid.Column="0" Text="工号:" Margin="4" VerticalAlignment="Center" HorizontalAlignment="Right"/>
        <TextBox Grid.Row="0" Grid.Column="1" Margin="4" VerticalAlignment="Center" Name="tbNumber" />
        <TextBlock Grid.Row="1" Grid.Column="0" Text="密码:" Margin="4" VerticalAlignment="Center" HorizontalAlignment="Right"/>
        <PasswordBox Grid.Row="1" Grid.Column="1" Margin="4" VerticalAlignment="Center" Name="pbPassword"/>
        <Button Grid.Row="2" Grid.Column="0" Name="btnSetting" Content="设置" Margin="4" Width="60" HorizontalAlignment="Left" Click="btnSetting_Click"/>
        <Button Grid.Row="2" Grid.Column="1" Name="btnLogin" Content="登录" Margin="4" HorizontalAlignment="Right" Width="60" IsDefault="True" Click="btnLogin_Click"/>
    </Grid>
</Window>
